home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Hacking & Misc / UNIX Cracking / MacCracSource.sit / MacCrac.source / Source / crack-glob.c < prev    next >
C/C++ Source or Header  |  1995-02-02  |  1KB  |  46 lines

  1. #include "crack.h"
  2.  
  3. char version[] = "4.1f";    /* version of prog */
  4. /*char runtime[] = "Runtime"; */
  5. char feedback_string[] = "!fb!";
  6. char rulefile[] = "dicts.rules";
  7. char gecosfile[] = "gecos.rules";
  8.  
  9. /* runtime variable declarations */
  10.  
  11. int pid;            /* current process ID */
  12. int pwlength = 8;        /* significant length of a password */
  13. struct USER *userroot;        /* root of linked list of users */
  14. struct RULE *ruleroot;        /* root of linked list of rules */
  15. struct RULE *gecosroot;        /* root of linked list of (gecos) rules */
  16. struct DICT *dictroot;        /* root of linked list of words */
  17.  
  18. /* datafile variables */
  19.  
  20. char diefile[STRINGSIZE];    /* where die output goes... */
  21. char feedbackfile[STRINGSIZE];    /* where feedback ouytput goes */
  22. char opfile[STRINGSIZE];    /* where Log() output goes */
  23. char pointfile[STRINGSIZE];    /* checkpointing */
  24. char this_hostname[STRINGSIZE];    /* gethostname() hack */
  25.  
  26.  
  27. /* recover variables */
  28.  
  29. char old_hostname[STRINGSIZE];    /* next 4 vars used in recovery */
  30. char old_dictname[STRINGSIZE];
  31. char old_rule[STRINGSIZE];
  32. int old_usernum;
  33. char old_username[STRINGSIZE];
  34.  
  35. /* switches */
  36. char input_file[STRINGSIZE];
  37. char recover_file[STRINGSIZE];
  38. char supplied_name[STRINGSIZE];
  39. int foreground_bool;
  40. int remote_bool;
  41. int nice_value;
  42. int recover_bool;
  43.  
  44. int verbose_bool;
  45.  
  46.